package com.jdd.modules.sdkidentifyresultpushlog.entity.enums;

/**
 * @version 1.0
 * @Description:
 * @author： jdd尚岳
 * @Date: 2022-04-07 11:22
 */
public enum PropertiesTypeKind {

    DEV("dev"), TEST("test"), PROD("prod");

    private String value;

    private PropertiesTypeKind(String value) {
        this.value = value;
    }

    public static PropertiesTypeKind getByValue(String value) {
        for (PropertiesTypeKind ls : PropertiesTypeKind.values()) {
            if (ls.value == value) {
                return ls;
            }
        }
        return null;
    }

    public String value() {
        return this.value;
    }
}
